package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excels;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 优先专家对象 sys_project_expert_prior
 *
 * @author ruoyi
 * @date 2024-11-02
 */
public class SysProjectExpertPrior extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private Long id;

    /**
     * 专家抽取配置ID
     */
    @Excel(name = "专家抽取配置ID")
    private Long expertSelectId;

    /**
     * 专家ID
     */
    @Excel(name = "专家ID")
    private Long expertId;

    /**
     * 专家名称
     */
    @Excel(name = "专家名称")
    private String expertName;

    /**
     * 批次
     */
    @Excel(name = "批次")
    private Long number;

    /**
     * 专家对象
     */
    /**
     * 部门对象
     */
    @Excels({
            @Excel(name = "专家姓名", targetAttr = "expertName", type = Excel.Type.EXPORT),
            @Excel(name = "证件号码", targetAttr = "identityCode", type = Excel.Type.EXPORT),
            @Excel(name = "手机号码", targetAttr = "mobile", type = Excel.Type.EXPORT),
            @Excel(name = "专家品目", targetAttr = "expertCategoryName", type = Excel.Type.EXPORT),
            @Excel(name = "地区", targetAttr = "areaName", type = Excel.Type.EXPORT)
    })
    public SysExpert expert;

    public int identityTypeId;

    public int areaId;

    public int expertTypeId;

    public long mobile;

    public String identityCode;

    public String expertCategoryName;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setExpertSelectId(Long expertSelectId) {
        this.expertSelectId = expertSelectId;
    }

    public Long getExpertSelectId() {
        return expertSelectId;
    }

    public void setExpertId(Long expertId) {
        this.expertId = expertId;
    }

    public Long getExpertId() {
        return expertId;
    }

    public void setExpertName(String expertName) {
        this.expertName = expertName;
    }

    public String getExpertName() {
        return expertName;
    }

    public void setNumber(Long number) {
        this.number = number;
    }

    public Long getNumber() {
        return number;
    }

    public void setExpert(SysExpert expert) {
        this.expert = expert;
    }

    public SysExpert getExpert() {
        return expert;
    }

    public void setIdentityTypeId(int identityTypeId) {
        this.identityTypeId = identityTypeId;
    }

    public int getIdentityTypeId() {
        return identityTypeId;
    }

    public void setAreaId(int areaId) {
        this.areaId = areaId;
    }

    public int getAreaId() {
        return areaId;
    }

    public void setExpertTypeId(int expertTypeId) {
        this.expertTypeId = expertTypeId;
    }

    public int getExpertTypeId() {
        return expertTypeId;
    }

    public void setMobile(long mobile){ this.mobile = mobile; }

    public long getMobile(){ return mobile; }

    public void setIdentityCode(String identityCode){ this.identityCode = identityCode; }
    public String getIdentityCode(){ return identityCode; }

    public void setExpertCategoryName(String expertCategoryName){ this.expertCategoryName = expertCategoryName; }
    public String getExpertCategoryName(){ return expertCategoryName; }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("expertSelectId", getExpertSelectId())
                .append("expertId", getExpertId())
                .append("expertName", getExpertName())
                .append("number", getNumber())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("expert", getExpert())
                .toString();
    }
}
